package com.itaem.community.modules.infrastructure.company.department.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itaem.community.core.exception.data.NoSuchDataException;
import com.itaem.community.modules.infrastructure.company.department.dto.WorkerDTO;
import com.itaem.community.modules.infrastructure.company.department.dto.WorkerFireDTO;
import com.itaem.community.modules.infrastructure.company.department.entity.WorkerEntity;
import com.itaem.community.modules.infrastructure.company.department.mapper.DepartmentDAO;
import com.itaem.community.modules.infrastructure.company.department.mapper.WorkerDAO;
import com.itaem.community.modules.infrastructure.company.department.mapper.WorkerTransformer;
import com.itaem.community.modules.infrastructure.company.department.service.WorkerService;
import com.itaem.community.modules.infrastructure.user.mapper.UserDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Optional;

/**
 * <p>
 * 物业公司部门工作人员 服务实现类
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Service
public class WorkerServiceImpl extends ServiceImpl<WorkerDAO, WorkerEntity> implements WorkerService {

    @Autowired
    private WorkerDAO workerDAO;

    @Autowired
    private UserDAO userDAO;

    @Autowired
    private DepartmentDAO departmentDAO;

    @Autowired
    private WorkerTransformer workerTransformer;


}
